Woocommerce\Pagarme\Model\Charge S

Total Complexity 29
Dependencies 3
Dependents 5
Total lines 251
Lines of code 182
Logical lines of code 65
Comment lines 14
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
is_allowed_cancel()
S
57 7 16
create_from_order()
S
53 4 26
create_from_webhook()
S
54 3 24
get_i18n_status()
S
59 3 14
is_allowed_capture()
S
62 3 12
add_notes()
S
55 2 21
find_by_wc_order()
S
58 2 18
is_exists()
S
60 1 15
insert()
S
61 1 13
update_core_charge()
S
63 1 11
update()
S
68 1 8
get_table_name()
S
76 1 4